package net.aiion.weave.impl.ui;

import net.aiion.weave.spi.naming.annotations.NotScoped;
import net.aiion.weave.spi.ui.ValueMessage;


@NotScoped
public class ComponentMessageImpl implements ValueMessage
{
    private final String recipient;
    private final String value;

    public ComponentMessageImpl(final String aRecipient, final String aValue) {
        recipient = aRecipient;
        value = aValue;
    }

    @Override
    public String getRecipient() {
        return recipient;
    }

    @Override
    public String getValue() {
        return value;
    }
}
